import gdb	
import sys
sys.path.append("/home/stefan/Documents/fydp/fydp-david/module-test/fydp-david/src")
import pyata_module

startNumber = -1

class AudioStopRange(gdb.Breakpoint):

  def stop (self):
    global startNumber
    #print "audio range " + str(startNumber) + " stopping!"
    pyata_module.stopRange(startNumber)
    return False

  def setStartNumber(self, num):
    global startNumber
    startNumber = num
